<?php
	class bomoncontroller
	{
		public $bomon_ma = "";
		public $bomon_ten = "";
		public $bomon_makhoa = "";
		
		public function Them()
		{
			$data = new lopdata();
			return $data->Them($this->bomon_ma, $this->bomon_ten, $this->bomon_makhoa);
		}
		
		public function CapNhat()
		{
			$data = new bomondata();
			return $data->CapNhat($this->bomon_ma, $this->bomon_ten, $this->bomon_makhoa);
		}
		
		public function Xoa()
		{
			$data = new bomondata();
			return $data->Xoa($this->bomon_ma);
		}
		
		public function LayDanhSach()
		{
			$data = new bomondata();
			return $data->LayDanhSach($this->bomon_ma);
		}
	}
?>